@tool
@icon("../icons/state_is_active_guard.svg")
class_name AnimIsFinishedGuard
extends Guard

# State的动画结束时允许触发
func is_satisfied(transition:Transition,state:State) -> bool:
	if state != null:
		return not ("is_anim_finished" in state) or state.is_anim_finished
	return false
